<%@ page language="java" pageEncoding="UTF-8" %>
<%@ include file="/template/common/include/top.jsp" %>
<%@ include file="/template/common/include/constant.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath}/template/js/gftuserfunc.js"></script>
<script language="javascript">
    var eles = [new Ele('id_t_rightName', false, -1, -1, '权限名称'),new Ele('id_t_rightDesc', false, -1, -1, '权限描述')];
</script>

<body>
<div class="main1">当前的位置:权限管理&gt;&gt;权限编辑</div>

<form method="post" action="${pageContext.request.contextPath}/gftuser.x" id="editFrm">
    ${sys_searchparemeter}
    <input type="hidden" name="op" value="updateRight"/>
    <input type="hidden" name="t.id" value="${t.id}"/>
    <input type="hidden" name="t.rightName" value="${t.rightName}"/>
    <input type="hidden" name="t.rightDesc" value="${t.rightDesc}"/>

    <div class="edit_div">
        <table>
            <tr>
                <td>权限名称:</td>
                <td><input type="text" id="id_t_rightName" name="t.rightName" value="${t.rightName}" disabled/></td>
            </tr>
            <tr>
                <td>权限描述:</td>
                <td><input type="text" id="id_t_rightDesc" name="t.rightDesc" value="${t.rightDesc}" disabled/></td>
            </tr>
            <tr>
                <td>状态:</td>
                <td><select name="t.status" id="id_t_status">
                    <option value="${status_yes}" <c:if test='${t.status == status_yes}'>selected</c:if>>正常</option>
                    <option value="${status_no}" <c:if test='${t.status == status_no}'>selected</c:if>>禁用</option>
                </select>
                </td>
            </tr>
        </table>
    </div>

    <div class="edit_div">
        <input type="button" onclick="checkForm(eles,'editFrm');" value="确定" class="btn_Submit"/>
        &nbsp;
        <input type="button" onclick="commit('editFrm',[['op','findRight']]);" value="返回" class="btn_Submit"/>
    </div>
</form>
</body>